package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("good_info")
@ApiModel(value = "GoodInfo对象", description = "商品表")
public class GoodInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "good_id", type = IdType.AUTO)
    private Integer goodId;

    @ApiModelProperty("商品名称")
    private String goodName;

    @ApiModelProperty("状态 UP 上架 DOWN 下架")
    private String goodStatus;

    @ApiModelProperty("分类ID")
    private Integer goodCategoryId;

    @ApiModelProperty("商品描述")
    private String goodDescribe;

    @ApiModelProperty("封面图片")
    private String goodPhoto;

    @ApiModelProperty("逻辑删除(0正常，1删除)")
    private Integer deleted;

    @ApiModelProperty("关联服务id")
    private Integer serviceId;

    @ApiModelProperty("销量")
    private Integer saleCount;

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodStatus() {
        return goodStatus;
    }

    public void setGoodStatus(String goodStatus) {
        this.goodStatus = goodStatus;
    }

    public Integer getGoodCategoryId() {
        return goodCategoryId;
    }

    public void setGoodCategoryId(Integer goodCategoryId) {
        this.goodCategoryId = goodCategoryId;
    }

    public String getGoodDescribe() {
        return goodDescribe;
    }

    public void setGoodDescribe(String goodDescribe) {
        this.goodDescribe = goodDescribe;
    }

    public String getGoodPhoto() {
        return goodPhoto;
    }

    public void setGoodPhoto(String goodPhoto) {
        this.goodPhoto = goodPhoto;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public Integer getSaleCount() {
        return saleCount;
    }

    public void setSaleCount(Integer saleCount) {
        this.saleCount = saleCount;
    }

    @Override
    public String toString() {
        return "GoodInfo{" +
        "goodId = " + goodId +
        ", goodName = " + goodName +
        ", goodStatus = " + goodStatus +
        ", goodCategoryId = " + goodCategoryId +
        ", goodDescribe = " + goodDescribe +
        ", goodPhoto = " + goodPhoto +
        ", deleted = " + deleted +
        ", serviceId = " + serviceId +
        ", saleCount = " + saleCount +
        "}";
    }
}
